package com.felight.ems.hr;
package com.felight.ems.hr;
public class Employee{
	int empid;
	String empname;
	String empaddr;
	char gender;
	float salary;
	
	public Employee()
	{
		this.empid=000;
		this.empname="not specified";
		this.empaddr="not specified";
		this.gender='m';
		this.salary=00000;
	}
	
	public Employee(int empid,String empname,String empaddr,char gender,float salary)
	{
		this.empid=empid;
		this.empname=empname;
		this.empaddr=empaddr;
		this.gender=gender;
		this.salary=salary;
	} 
	
	public void print()
	{
		System.out.println("empid= "+empid);
		System.out.println("empname= "+empname);
		System.out.println("empaddr= "+empaddr);
		System.out.println("gender= "+gender);
		System.out.println("salary= "+salary);
		System.out.println();
	}
}





		